package com.pethome.pet.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pethome.common.annotation.Excel;
import com.pethome.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 丢失宠物信息对象 t_pet_lost
 * 
 * @author ruoyi
 * @date 2024-09-02
 */
@TableName("t_pet_lost")
public class PetLost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增， */
    @TableId("pet_lost_id")
    @Excel(name = "主键自增，")
    private Long petLostId;

    /** 状态 */
    @Excel(name = "状态")
    private Long petLostStatus;

    /** 宠物领养图片 */
    @Excel(name = "宠物领养图片")
    private String petLostImages;

    /** 联系人id */
    @Excel(name = "联系人id")
    private Long petLostCustomerId;

    /** 名字 */
    @Excel(name = "名字")
    private String petLostName;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String petLostHostName;

    /** 联系人电话号码 */
    @Excel(name = "联系人电话号码")
    private String petLostPhone;

    /** 启示内容 */
    @Excel(name = "启示内容")
    private String petLostText;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date petCreateAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date petUpdateAt;

    public void setPetLostId(Long petLostId) 
    {
        this.petLostId = petLostId;
    }

    public Long getPetLostId() 
    {
        return petLostId;
    }
    public void setPetLostStatus(Long petLostStatus) 
    {
        this.petLostStatus = petLostStatus;
    }

    public Long getPetLostStatus() 
    {
        return petLostStatus;
    }
    public void setPetLostImages(String petLostImages) 
    {
        this.petLostImages = petLostImages;
    }

    public String getPetLostImages() 
    {
        return petLostImages;
    }
    public void setPetLostCustomerId(Long petLostCustomerId) 
    {
        this.petLostCustomerId = petLostCustomerId;
    }

    public Long getPetLostCustomerId() 
    {
        return petLostCustomerId;
    }
    public void setPetLostName(String petLostName) 
    {
        this.petLostName = petLostName;
    }

    public String getPetLostName() 
    {
        return petLostName;
    }
    public void setPetLostHostName(String petLostHostName) 
    {
        this.petLostHostName = petLostHostName;
    }

    public String getPetLostHostName() 
    {
        return petLostHostName;
    }
    public void setPetLostPhone(String petLostPhone) 
    {
        this.petLostPhone = petLostPhone;
    }

    public String getPetLostPhone() 
    {
        return petLostPhone;
    }
    public void setPetLostText(String petLostText) 
    {
        this.petLostText = petLostText;
    }

    public String getPetLostText() 
    {
        return petLostText;
    }
    public void setPetCreateAt(Date petCreateAt) 
    {
        this.petCreateAt = petCreateAt;
    }

    public Date getPetCreateAt() 
    {
        return petCreateAt;
    }
    public void setPetUpdateAt(Date petUpdateAt) 
    {
        this.petUpdateAt = petUpdateAt;
    }

    public Date getPetUpdateAt() 
    {
        return petUpdateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("petLostId", getPetLostId())
            .append("petLostStatus", getPetLostStatus())
            .append("petLostImages", getPetLostImages())
            .append("petLostCustomerId", getPetLostCustomerId())
            .append("petLostName", getPetLostName())
            .append("petLostHostName", getPetLostHostName())
            .append("petLostPhone", getPetLostPhone())
            .append("petLostText", getPetLostText())
            .append("petCreateAt", getPetCreateAt())
            .append("petUpdateAt", getPetUpdateAt())
            .toString();
    }
}
